<?php exit?>
<!--{include file="header.php"}-->
<div class="layout-box">
	<div class='layout-title'>系统设置</div>
	<div class='layout-body'>
	<div class="blank"></div>
		<form action="?action=global&do=config_update" method="post" enctype="multipart/form-data">
<div id="tab">
	<a href="#0" id="tab_0" class="hover" onmouseover="tab(0,3)">基本信息设置</a>
	<a href="#1" id="tab_1" onmouseover="tab(1,3)">主题控制设置</a>
	<a href="#2" id="tab_2" onmouseover="tab(2,3)">邮件服务器设置</a>
</div>
		<div id="content_0">
		(站点标题)<div class="blank"></div>
		<input x-webkit-speech class="input" type="text" name="title" size="60" value="{$config.title|escape:html}"/><div class="blank"></div>
		(站点站长)<div class="blank"></div>
		<input x-webkit-speech class="input" type="text" name="author" size="60" value="{$config.author|escape:html}"/><div class="blank"></div>
		(站点关键字:适用于SEO)<div class="blank"></div>
		<input x-webkit-speech class="input" type="text" name="keywords" size="60" value="{$config.keywords|escape:html}"/><div class="blank"></div>
		(站点描述:适用于SEO)<div class="blank"></div>
		<textarea class="input" name="description" rows="4" cols="60"><!--{$config.description|escape:html}--></textarea><div class="blank"></div>
		(统计代码:在第三方申请的统计代码，在页面底部显示)<div class="blank"></div>
		<textarea class="input" name="statcode" rows="4" cols="60"><!--{$config.statcode|escape:html}--></textarea><div class="blank"></div>

		</div>
		<div id="content_1" style="display:none">
			<script type="text/javascript">
			$(function(){
				$.ajax({
					type:'get',
					url:'?action=global&do=theme_config',
					success:function(result){
						$('#content_1').html(result);
					}
				});
			});
			</script>
		</div>

		<div id="content_2" style="display:none">
		(邮件服务器主机:IP地址或者主机名称)<div class="blank"></div>
		<input x-webkit-speech class="input" type="text" name="smtp_server" size="40" value="{$config.smtp_server|escape:html}"/>
		端口：<input x-webkit-speech class="input" type="text" name="smtp_port" size="5" value="{$config.smtp_port|escape:html}"/><div class="blank"></div>
		(邮件服务器用户:SMTP帐号)<div class="blank"></div>
		<input x-webkit-speech class="input" type="text" name="smtp_user" size="40" value="{$config.smtp_user|escape:html}"/><div class="blank"></div>
		(邮件服务器密码:SMTP密码)<div class="blank"></div>
		<input x-webkit-speech class="input" type="password" name="smtp_password" size="40" value="{$config.smtp_password|escape:html}"/><div class="blank"></div>
		(邮件发送地址:请填写发送邮件地址)<div class="blank"></div>
		<input x-webkit-speech class="input" type="text" name="smtp_mail" size="40" value="{$config.smtp_mail|escape:html}"/><div class="blank"></div>
		</div>

<!--{$plugin}-->
		<input type="submit" value=" 提 交 " class="button"/>
		<input type="button" id="cancel" class="button" value=" 取 消 "/>
		</form>
	</div>
</div>